package com.yun.zf.common.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 地铁线路表
 * </p>
 *
 * @author cj
 * @since 2021-01-29
 */
@TableName("zf_subway")
@Data
public class ZfSubway implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 线路名
     */
    private String name;

    /**
     * 城市代码
     */
    private String cityCode;

    private String cityName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime;
    /**
     * 排序
     */
    private int sort;

}
